<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-03 01:16:57
 * @LastEditTime: 2023-10-18 14:38:19
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Models;

use App\Traits\MaterialTrait; 
class MpcBacthStorage extends BaseModel
    {
    use MaterialTrait;

    public $timestamps = true;
    public $table = "sys_mpc_batch_storage";
    protected $guarded = [];

    public function mpc_detail()
        {
        return $this->belongsTo(MpcSummaryDetail::class);
        }

    public function deltails()
        {
        return $this->hasMany(MpcBatchDetail::class, "batch_storage_id");
        }

    }